﻿using System.Collections.Generic;

namespace Cms.Domain
{
    public abstract class ContentSet
    {
        private IList<ContentTranslationVersion> _translationVersions;

        public ContentSet()
        {
            _translationVersions = new List<ContentTranslationVersion>();
        }
        
        public virtual int ID { get; set; }

        public virtual Locale Locale { get; set; }
        
        public virtual ContentTranslationVersion PublishedVersion { get; set; }
        
        public virtual IList<ContentTranslationVersion> TranslationVersions
        {
            get { return _translationVersions; }
            set { _translationVersions = value; }
        }
    }
}